package com.flying.fish.example.rest;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Desc 展示页
 * @Author Mr.Yao
 * @Date 2023/11/30 9:54
 * @Version 1.0
 */
@Slf4j
@RestController
public class IndexController {

    //@GetMapping()
    public String index(){
        log.info("provider of example index page");
        return "hello, gateway of test";
    }

    @GetMapping("/favicon.ico")
    public void favicon() {
        System.out.println("================输出favicon.ico");
    }
}
